<template>
  <div id="app">
     <div v-if="$route.meta.keepAlive">
         
    <router-view></router-view>   
    <!-- 导航栏 -->
    <mynav/>
    </div>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
  
  </div>
</template>

<script>
//导入底部导航栏组件
import mynav from './components/mynav.vue'
export default {
  name: 'app',
  components: {
    mynav
  }
}
</script>

<style>
    
</style>
